WindowExceptionHandler

public interface WindowExceptionHandler

Handles exceptions that are thrown within a Compose window.

This type is a more convenient alternative to Compose-expected CustomWindowExceptionHandlerFactory. It passes both the throwable and the window to the handling method.

Since

8.0.0

See also

windowExceptionHandler

Functions

Link copied to clipboard
public abstract Unit on(Throwable throwable, Window window)

Handles the exception in a window.